package com.example.studymvvmproject01.login

class LoginBean {

    /**
     * access_token : fd770c91-83ab-414e-b204-1112c26aed55
     * token_type : bearer
     * refresh_token : f5705a7a-914b-4371-ac56-f05f5c22406b
     * expires_in : 40755
     * scope : server
     * tenant_id : 3
     * license : made by kyny
     * user_id : 300
     * site_id : 1
     * active : true
     * dept_id : null
     * username : 66ADMIN
     */
    private var access_token: String? = null
    private var token_type: String? = null
    private var refresh_token: String? = null
    private var expires_in = 0
    private var scope: String? = null
    private var tenant_id = 0
    private var license: String? = null
    private var user_id = 0
    private var site_id = 0
    private var active = false
    private var dept_id: Any? = null
    private var username: String? = null

    fun getAccess_token(): String? {
        return access_token
    }

    fun setAccess_token(access_token: String?) {
        this.access_token = access_token
    }

    fun getToken_type(): String? {
        return token_type
    }

    fun setToken_type(token_type: String?) {
        this.token_type = token_type
    }

    fun getRefresh_token(): String? {
        return refresh_token
    }

    fun setRefresh_token(refresh_token: String?) {
        this.refresh_token = refresh_token
    }

    fun getExpires_in(): Int {
        return expires_in
    }

    fun setExpires_in(expires_in: Int) {
        this.expires_in = expires_in
    }

    fun getScope(): String? {
        return scope
    }

    fun setScope(scope: String?) {
        this.scope = scope
    }

    fun getTenant_id(): Int {
        return tenant_id
    }

    fun setTenant_id(tenant_id: Int) {
        this.tenant_id = tenant_id
    }

    fun getLicense(): String? {
        return license
    }

    fun setLicense(license: String?) {
        this.license = license
    }

    fun getUser_id(): Int {
        return user_id
    }

    fun setUser_id(user_id: Int) {
        this.user_id = user_id
    }

    fun getSite_id(): Int {
        return site_id
    }

    fun setSite_id(site_id: Int) {
        this.site_id = site_id
    }

    fun isActive(): Boolean {
        return active
    }

    fun setActive(active: Boolean) {
        this.active = active
    }

    fun getDept_id(): Any? {
        return dept_id
    }

    fun setDept_id(dept_id: Any?) {
        this.dept_id = dept_id
    }

    fun getUsername(): String? {
        return username
    }

    fun setUsername(username: String?) {
        this.username = username
    }
}